package com.ctshk.rpc.hotel.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@ApiModel(value="HotelOrderRoomCustomerInfo对象", description="填写酒店订单信息房间入住人姓名")
public class HotelOrderRoomCustomerInfo implements Serializable {

    @NotEmpty(message = "入住人姓氏必传")
    @ApiModelProperty(value = "姓氏", required = true)
    private String surName;

    @NotEmpty(message = "入住人名必传")
    @ApiModelProperty(value = "名称", required = true)
    private String name;
}
